package com.yuhs.zixing.study.design.pattern.dp002.create.c004.builder.b002;

/**
 * @description: 抽象的建造者
 * @author: yuhs
 * @date: 2022/4/29 9:29 AM
 */
public abstract class HouseBuilder002 {

    protected House002 house = new House002();

    /**
     * 打地基
     */
    public abstract void buildBasic();

    /**
     * 砌墙
     */
    public abstract void buildWalls();

    /**
     * 封顶
     */
    public abstract void buildRoofed();

    public House002 buildHouse() {
        return house;
    }
}
